<template>
	<div class="home-container">
		<div class="home-text">name: {{ name }}</div>
	</div>
</template>

<script>
import { mapGetters } from "vuex"
import { login_test } from "../../api/user.js"
export default {
	name: 'Home',
	computed: {
		...mapGetters([
			'name'
		])
	},
	created() {
		login_test()
	}
}
</script>

<style lang="scss" scoped>
.home {
	&-container {
		margin: 30px;
	}
	&-text {
		font-size: 30px;
		line-height: 46px;
	}
}
</style>
